<%--
  Created by IntelliJ IDEA.
  User: yuanyuan
  Date: 2023/10/24
  Time: 21:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
  <form action="/searchEmployee" method="post">
    <input name="realname" placeholder="查找员工姓名">
    <input type="submit" value="查找">
  </form>
    <c:forEach items="${employees}" var="emp">
        <p>
            ${emp.id},${emp.realname},${emp.cellphone}
        </p>
    </c:forEach>
</body>
</html>
